html,body{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#main{
    width: 100%;
    height: 100%;
    float: right;
    overflow-y:auto;
}
#main>h1{
    text-align: center;
    color: #ccc;
}
#main>div{
    height: 240px;
    padding-bottom: 30px;
    border-bottom: 2px solid #ccc;
}
#main>div>div{
    display: flex;
    justify-content: space-around;
}
#main>div>h2{
    font-size: 14px;
    color: #866961;
    padding:20px;
}
#main>div>div>div{
    padding-bottom: 20px;
    width: 20%;
    text-align: center;
}
#main>div>div>div>img{
    height: 140px;
    border-radius: 50%;
    box-shadow: 0px 0px 2px 1px #ccc;
    transition: all .5s;
    margin-bottom: 10px;
}
#main>div>div>div>img:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 10px 5px #ccc; 
}
#main>div>div>div>p{
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}
#main>p{
    font-size: 12px;
    padding: 20px;
    color: #ccc;
}
/* 字体图标 */
#mai{
    position: fixed;
    right: 40px;
    bottom: 20px;
}
#mai>.iconfont{
    font-size: 50px;
}
#mai>h3{
    width: 20px;
    height: 20px;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    background: red;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    display: none;
}
/* 购物车板块 */
#gouwu{
    position: fixed;
    width: 70%;
    height: 70%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
    border-radius: 10px;
    background: #ccc;
}
#gouwu>div:nth-of-type(1){
    height: 8%;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    border-bottom: 3px solid #fff;
}
#gouwu>div:nth-of-type(2){
    height: 8%;
    font-size: 20px;
    font-weight: bold;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 25px solid #fff;
}
#gouwu>div:nth-of-type(2)>span{
    display: inline-block;
    width: 100px;
    height: 100%;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    border: 1px solid #fff;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 300;
    transition: all .8s;
}
#gouwu>div:nth-of-type(3){
    height: 84%;
    padding-top: 10px;
    background: #fff;
}
#gouwu>div>h3{
    font-size: 20px;
    color: #666;
    padding: 6px 0px 6px 10px;
    border-bottom: 3px solid #ccc;
    background: #ccc;
    height: 6%;
}
#gouwu>div>div{
    height: 76%;
    overflow-y: auto;
}
#gouwu>div>p{
    height: 15%;
    display: flex;
    justify-content: end;
}
#gouwu>div>p>.iconfont{
    flex: 1;
    font-size: 36px;
    text-align: center;
    line-height: 66px;
}
#gouwu>div>p>.iconfont>span{
    font-size: 16px;
    position: relative;
    top: -8px;
    margin-right: 6px;
}
#gouwu>div>p>span{
    width: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#gouwu>div>div>ul:nth-of-type(1){
    height: 8%;
    display: flex;
    justify-content: space-around;
    background: #866961;
    color: #fff;
}
#gouwu>div>div>ul:nth-of-type(1)>li{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
}
#gouwu>div>div>ul{
    background: #fff;
    height: 25%;
    display: none;
}
#gouwu>div>div>ul>li>img{
    width: 70px; 
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px #ccc;
}
#gouwu>div>div>ul>li{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    font-size: 18px;
}
#gouwu>div>div>ul>li>.iconfont{
    font-size: 16px;
    margin: 0 8px;
}
